package com.jtech.together.model;

import cn.bmob.v3.BmobObject;

/**
 * 好友表
 * Created by wuxubaiyang on 2017/5/11.
 */

public class FriendModel extends BmobObject {
    private UserModel user;
    private UserModel friendUser;
    private String letter = "";//索引关键字，不会上传到服务器

    public FriendModel(String userId, String targetId) {
        setUser(new UserModel(userId));
        setFriendUser(new UserModel(targetId));
    }

    public UserModel getUser() {
        return user;
    }

    public void setUser(UserModel user) {
        this.user = user;
    }

    public UserModel getFriendUser() {
        return friendUser;
    }

    public void setFriendUser(UserModel friendUser) {
        this.friendUser = friendUser;
    }

    public String getLetter() {
        return letter;
    }

    public void setLetter(String letter) {
        this.letter = letter;
    }
}